import { post } from './request'

// 车牌记录新增
export const licenseRecordCreate = (data) => {
    return post('/carpark/license_record/create.json', data)
}

// 车牌记录更新
export const licenseRecordUpdate = (data) => {
    return post('/carpark/license_record/update.json', data)
}

// 列表接口
export const licenseRecordList = (data) => {
    return post('/carpark/license_record/list.json', data)
}

// 列表接口
export const licenseRecordUserList = (data?: any) => {
    return post('/carpark/license_record/userList.json', data)
}

// 查询接口
export const licenseRecordQuery = (data) => {
    return post('/carpark/license_record/query.json', data)
}

// 删除接口
export const licenseRecordDelete = (data) => {
    return post('/carpark/license_record/delete.json', data)
}
